import React from 'react';
import ReactDOM from 'react-dom/client';
import {store} from "@/app/store";
import App from './App';
import './index.css';
import {BrowserRouter} from "react-router-dom";
import {Provider} from "react-redux";
import {ConfigProvider} from "antd";

const root = ReactDOM.createRoot(
    document.getElementById('root') as HTMLElement
);
root.render(
    <ConfigProvider theme={{
        token: {
            colorPrimary: '#6025bc'
        }
    }}>
        <Provider store={store}>
            <BrowserRouter>
                <App/>
            </BrowserRouter>
        </Provider>
    </ConfigProvider>
);

